import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false;

//自动扫描指定路径下的路由
import router from './router'

//使用Element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

//使用axios
import axios from "axios";
// Vue.prototype.$ajax =Axios;
import VueAxios from "vue-axios"


Vue.use(router);
Vue.use(ElementUI);
Vue.use(VueAxios,axios)

new Vue({
  el: '#app',
  router,
  render: h => h(App)
});
